#include<stdio.h>
int main()
{
    int num_2 = 0b101;
    int num_8 = 012;
    int num_16 = 0xB2;
    printf("二进制数:\t %d\n",num_2);
    printf("八进制数:\t %d\n",num_8);
    printf("十六进制数:\t %d\n",num_16);

    int c = 0x0101;
    printf("c=%d\n", c);
    printf("c=%x\n", c);
    printf("c=%#x\n", c);
    printf("c=%o\n", c);
    printf("c=%#o\n", c);
}  